finding the square roots of a complex number